package com.starinside.wp.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Data
@Table(name = "user_active_registration")
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
public class UserActiveRegistration extends Model {

    @Column(columnDefinition = " varchar(32)  COMMENT '活动id'")
    private String activityId;
    @Column(columnDefinition = " varchar(32)  COMMENT '用户id'")
    private String userId;
    @Column(columnDefinition = " varchar(32)  COMMENT '报名人'")
    private String userName;
    @Column(columnDefinition = " datetime  COMMENT '报名时间'")
    private Date registerTime;
    @Column(columnDefinition = " varchar(32)  COMMENT '宝宝姓名'")
    private String childrenName;
    @Column(columnDefinition = " varchar(32)  COMMENT '宝宝id'")
    private String childrenId;
    @Column(columnDefinition = " varchar(50)  COMMENT '对应关系'")
    private String relation;
    @Column(columnDefinition = " varchar(50)  COMMENT '联系电话'")
    private String phone;
    @Column(columnDefinition = " varchar(32)  COMMENT '园区id'")
    private String areaId;
    @Column(columnDefinition = " varchar(32)  COMMENT '班级id'")
    private String classId;
    @Column(columnDefinition = " datetime COMMENT '创建时间'")
    private Date createTime;
    @Column(columnDefinition = " datetime COMMENT '修改时间'")
    private Date updateTime;
    @Column(columnDefinition = "  bit DEFAULT 0 COMMENT '是否报名 0：否，1是' ")
    private Boolean isActive;

}
